package com.treemanage.treemanageback.service.impl;

import com.treemanage.treemanageback.mapper.StudentMapper;
import com.treemanage.treemanageback.pojo.Student;
import com.treemanage.treemanageback.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class StudentServiceImpl implements StudentService {
    @Resource
    private StudentMapper studentMapper;

    @Override
    public List<Student> list() {
        return studentMapper.list();
    }
}
